DIRECTORY ?= $(HOME)/AQchatroom/AQnetwork
all:server client
INCLUDE = $(DIRECTORY)/include
LIBRARY = $(DIRECTORY)/lib


FLAGS = -L$(LIBRARY) -I$(INCLUDE) -lAQnetwork -lpthread -std=c++11

server:server.cpp
	g++ -g $^ -o $@ $(FLAGS)

client:client.cpp
	g++ $^ -o $@ $(FLAGS)